package com.qc.fight.example.jdk8;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class LambdaTest {
	public static void main(String[] args) {
		Arrays.asList( "a", "b", "d" ).forEach( ( String e ) -> {System.out.println(e);System.out.println(e);});
		Arrays.asList( "a", "b", "d" ).sort((e1,e2) -> {System.out.println(e1); return e1.compareTo(e2);});
		List<String> list = Arrays.asList( "a", "b", "d" );
		//list.stream().mapTo;
	}
}
